package com.tensquare.qa.client;

import dto.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "tensquare-base",fallback = LabelClientImpl.class)
public interface LabelClient {

    @GetMapping("/label/{id}")
    ResultDTO listById(@PathVariable("id") String id);
}
